package com.maila.xiaoaoschool.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.RadioButton;
import android.widget.TextView;

import com.maila.xiaoaoschool.R;
import com.zhy.autolayout.AutoLinearLayout;
import com.zhy.autolayout.AutoRelativeLayout;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by Administrator on 2017/10/31.
 */

public class AddaddressActivity extends AppCompatActivity {
    @BindView(R.id.white_return_iv)
    AutoRelativeLayout whiteReturnIv;
    @BindView(R.id.tv_title_name)
    TextView tvTitleName;
    @BindView(R.id.save_information_tv)
    TextView saveInformationTv;
    @BindView(R.id.ll_title)
    AutoLinearLayout llTitle;
    @BindView(R.id.edit_name)
    EditText editName;
    @BindView(R.id.edit_phone)
    EditText editPhone;
    @BindView(R.id.bnt_location)
    ImageView bntLocation;
    @BindView(R.id.provincialCity_tv)
    TextView provincialCityTv;
    @BindView(R.id.edit_provincialCity)
    AutoLinearLayout editProvincialCity;
    @BindView(R.id.edit_detailed_address)
    EditText editDetailedAddress;
    @BindView(R.id.default_switch)
    RadioButton defaultSwitch;
    @BindView(R.id.is_default)
    AutoRelativeLayout isDefault;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_add_address);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.white_return_iv, R.id.save_information_tv, R.id.bnt_location, R.id.provincialCity_tv})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.white_return_iv:
                finish();
                break;
            case R.id.save_information_tv:
                break;
            case R.id.bnt_location:
                break;
            case R.id.provincialCity_tv:
                break;
        }
    }
}
